﻿seajs.config({
    base: './js/',
    alias: {
        'labjs': 'lib/LAB.min',
        'model': 'ezdesk/model/',
        'view': 'ezdesk/view/',
        'css': '/app/style/'
    }
});

define(function (require) {
    require('labjs');

    // 载入基础lib
    $LAB.script('js/lib/jquery-1.6.2.min.js').wait()
        .script('js/lib/jquery.ba-postmessage.js').wait()
        .script('js/lib/jquery.mobile-1.0b2.min.js').wait(
            function () {
                require('ezdesk/_loginpanel')
            }
        )
});
